<!DOCTYPE html>
<html>
<head lang="en">
  <meta charset="UTF-8">
  <title>Login</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="format-detection" content="telephone=no">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <link rel="alternate icon" type="image/png" href="assets/i/favicon.png">
  <link rel="stylesheet" href="assets/css/amazeui.min.css"/>
  <style>
    .header {
      text-align: center;
    }
    .header h1 {
      font-size: 200%;
      color: #333;
      margin-top: 30px;
    }
    .header p {
      font-size: 14px;
    }
  </style>
</head>
<body>
<#import "/spring.ftl" as spring />
	<h2>用户登录</h2>
	<form action="/login" method="post">
		<p>
			<span style="color: red">
				<@spring.bind "loginForm" />
				<@spring.showErrors "<br/>" />
			</span>
		</p>
		<p>
			用户名：<input type="text" name="username" id="username"
				value="${loginForm.username!}" />
			<span style="color: red">
				<@spring.bind "loginForm.username" />
				<@spring.showErrors "<br/>" />
			</span>
		</p>
		<p>
			密码：<input type="password" name="password" id="password"
				value="${loginForm.password!}" />
			<span style="color: red">
				<@spring.bind "loginForm.password" />
				<@spring.showErrors "<br/>" />
			</span>
		</p>
		<p>
			<input type="submit" name="btnLogin" id="btnLogin" value="登录" />
		</p>
	</form>
<div class="header">
  <div class="am-g">
    <h1>用户登录</h1>
    <p>欢迎光临<br/>够力金融在线考试系统</p>
  </div>
  <hr />
</div>
<div class="am-g">
  <div class="am-u-lg-6 am-u-md-8 am-u-sm-centered">
    <h3>登录	<#if err??>
            <span style="color:red">${err}</span>
            </#if></h3>
    <hr>
    
      <form action="/login" method="post" class="am-form">
      <label for="username">用户名:</label>
      <input type="text" name="username" id="username" value="">
      <br>
      <label for="password">密码:</label>
      <input type="password" name="password" id="password" value="">
      <br>
      <label for="remember-me">
        <input id="remember-me" type="checkbox">
        记住密码
      </label>
      <br />
      <div class="am-cf">
        <input type="submit" name="" value="登 录" class="am-btn am-btn-primary am-btn-sm am-fl">
		<input type="reset" name="" value="重 置" class="am-btn am-btn-primary am-btn-sm am-fl" style="margin-left:20px;">
        <a href="/register"><input type="button" name="" value="还没有账号^-^? " class="am-btn am-btn-default am-btn-sm am-fr"></a>
      </div>
    </form>
    <hr>
    <p>© 2016 GOLI, Inc. Licensed under GOLI license.</p>
  </div>
</div>
>>>>>>> refs/heads/frog0428-newMD5
</body>
</html>
